<!DOCTYPE html>
<html>
<head>
    <title>会员、主播</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <Row :gutter="16">
            <i-col span="4">
                <i-input v-model="q.name" @on-enter="query" placeholder="名称"/>
            </i-col>
            <i-button @click="query">查询</i-button>
            #if($shiro.hasPermission("apiuser:update"))
            <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;审核</i-button>
            #end
        </Row>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
        <i-form ref="formValidate" :model="apiUser" :rules="ruleValidate" :label-width="100">

            <Row>
                <i-col span="12">
                    <Form-item label="图片集">
                        <!--<img :src="item.url" v-for="(item,index) in picList" :index="index"-->
                        <!--style="padding: 10px;width: 200px;"/>-->

                        <div class="upload-list" v-for="item in uploadList" style="padding: 20px;float: left;">
                            <img :src="'https://www.qutuiya.com/'+item.url" width="180px" height="100px"/>
                            <Icon type="ios-eye-outline" @click.native="handleView(item.url)"></Icon>
                        </div>
                    </Form-item>
                    <Modal title="查看图片" v-model="visible">
                        <img :src="'https://www.qutuiya.com/'+imgName" v-if="visible" style="width: 100%"/>
                    </Modal>
                </i-col>

                <i-col span="12">
                    <Form-item label="昵称" prop="nickname">
                        <i-input v-model="apiUser.nickname" placeholder="昵称"/>
                    </Form-item>
                    <Form-item label="手机" prop="phone">
                        <i-input v-model="phone" placeholder="手机"/>
                    </Form-item>
                    <Form-item label="身高（cm）" prop="height">
                        <i-input v-model="apiUser.height" placeholder="身高（cm）"/>
                    </Form-item>
                    <Form-item label="体重（kg）" prop="weight">
                        <i-input v-model="apiUser.weight" placeholder="体重（kg）"/>
                    </Form-item>
                    <Form-item label="星座" prop="constellation">
                        <i-input v-model="apiUser.constellation" placeholder="星座"/>
                    </Form-item>

                    <Form-item label="城市" prop="cityName">
                        <i-input v-model="apiUser.cityName" placeholder="所在城市名称"/>
                    </Form-item>
                    <Form-item label="个人介绍" prop="introduction">
                        <i-input type="textarea" v-model="apiUser.introduction" placeholder="个人介绍"/>
                    </Form-item>

                </i-col>
            </Row>

            <Row>
                <i-col span="12">
                    <Form-item label="一对一视频" prop="live">
                        <Radio-group v-model="apiUser.live">
                            <Radio label="1">
                                <span>开通</span>
                            </Radio>
                            <Radio label="2">
                                <span>未开通</span>
                            </Radio>
                        </Radio-group>
                    </Form-item>
                    <!--<Form-item label="叫醒" prop="wake">-->
                        <!--<Radio-group v-model="apiUser.wake">-->
                            <!--<Radio label="1">-->
                                <!--<span>开通</span>-->
                            <!--</Radio>-->
                            <!--<Radio label="2">-->
                                <!--<span>未开通</span>-->
                            <!--</Radio>-->
                        <!--</Radio-group>-->
                    <!--</Form-item>-->
                    <!--<Form-item label="情感" prop="emotion">-->
                        <!--<Radio-group v-model="apiUser.emotion">-->
                            <!--<Radio label="1">-->
                                <!--<span>开通</span>-->
                            <!--</Radio>-->
                            <!--<Radio label="2">-->
                                <!--<span>未开通</span>-->
                            <!--</Radio>-->
                        <!--</Radio-group>-->
                    <!--</Form-item>-->
                    <!--<Form-item label="向导" prop="guide">-->
                        <!--<Radio-group v-model="apiUser.guide">-->
                            <!--<Radio label="1">-->
                                <!--<span>开通</span>-->
                            <!--</Radio>-->
                            <!--<Radio label="2">-->
                                <!--<span>未开通</span>-->
                            <!--</Radio>-->
                        <!--</Radio-group>-->
                    <!--</Form-item>-->
                </i-col>
                <i-col span="12">
                    <Form-item label="一对一视频单价" prop="livePrice">
                        <i-input v-model="apiUser.livePrice" placeholder="一对一直播单价"/>
                    </Form-item>
                    <!--<Form-item label="叫醒单价" prop="wakePrice">-->
                        <!--<i-input v-model="apiUser.wakePrice" placeholder="叫醒单价"/>-->
                    <!--</Form-item>-->
                    <!--<Form-item label="情感交流单价" prop="emotionPrice">-->
                        <!--<i-input v-model="apiUser.emotionPrice" placeholder="情感交流单价"/>-->
                    <!--</Form-item>-->
                    <!--<Form-item label="向导单价" prop="guidePrice">-->
                        <!--<i-input v-model="apiUser.guidePrice" placeholder="向导单价"/>-->
                    <!--</Form-item>-->
                </i-col>
                <Form-item label="权重排序" prop="sort">
                    <i-select v-model="apiUser.sort" style="width:200px">
                        <i-option :value="1" :key="1">1</i-option>
                        <i-option :value="2" :key="2">2</i-option>
                        <i-option :value="3" :key="3">3</i-option>
                        <i-option :value="4" :key="4">4</i-option>
                        <i-option :value="5" :key="5">5</i-option>
                        <i-option :value="6" :key="6">6</i-option>
                        <i-option :value="7" :key="7">7</i-option>
                        <i-option :value="8" :key="8">8</i-option>
                        <i-option :value="9" :key="9">9</i-option>
                        <i-option :value="10" :key="10">10</i-option>
                    </i-select>
                    <!--<i-input v-model="apiUser.sort" placeholder="权重排序 10-1"/>-->
                </Form-item>

            </Row>
            <Form-item label="审核状态" prop="applicationStatus">
                <Radio-group v-model="apiUser.applicationStatus" type="button">
                    <Radio label="3">
                        <span>审核通过</span>
                    </Radio>
                    <Radio label="4">
                        <span>审核失败</span>
                    </Radio>
                </Radio-group>
            </Form-item>

            <Form-item>
                <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>
                返回</i-button>
            </Form-item>
        </i-form>
    </Card>
    <div id="staticAuding" style="display: none;padding:10px;">
        <i-form :model="apiUser" :label-width="100">
            <Form-item label="审核状态" prop="applicationStatus">
                <Radio-group v-model="apiUser.applicationStatus">
                    <Radio label="3">
                        <span>审核通过</span>
                    </Radio>
                    <Radio label="4">
                        <span>审核失败</span>
                    </Radio>
                </Radio-group>
            </Form-item>
        </i-form>
    </div>

</div>


<script src="${rc.contextPath}/js/sysapi/audlting.js?_${date.systemTime}"></script>
</body>
</html>